x86: drop unneeded __packed attributes
authorRoger Pau Monné <roger.pau@citrix.com>
Fri, 31 Mar 2017 06:28:49 +0000 (08:28 +0200)
committerJan Beulich <jbeulich@suse.com>
Fri, 31 Mar 2017 06:28:49 +0000 (08:28 +0200)
commit2859b25a3ba9ba4eff6dba8d6e60dd9520ebbdb4
tree74bf9b8b72408550a976e420d716c8c356e7465c
parentca41491f0507150139fc35ff6c9f076fdbe9487b
x86: drop unneeded __packed attributes

There where a couple of unneeded packed attributes in several x86-specific
structures, that are obviously aligned. The only non-trivial one is
vmcb_struct, which has been checked to have the same layout with and without
the packed attribute using pahole. In that case add a build-time size check to
be on the safe side.

No functional change is expected as a result of this commit.

Signed-off-by: Roger Pau Monné <roger.pau@citrix.com>
Reviewed-by: Jan Beulich <jbeulich@suse.com>
Reviewed-by: Boris Ostrovsky <boris.ostrovsky@oracle.com>
master commit: 4036e7c592905c2292cdeba8269e969959427237
master date: 2017-03-07 17:11:06 +0100
xen/arch/x86/hvm/svm/vmcb.c
xen/arch/x86/x86_emulate/x86_emulate.h
xen/include/asm-x86/hvm/svm/vmcb.h